<?php
namespace App\Common;

class fashionMap
{
    /**
     * 依据fashion 类型（style） 返回映射表
     * @param string $fashionStyle
     */
    public static function fashionStylesMapping($fashionStyle) {
        $stlyes= [
            'oumei' => 'I', 'rihan' => 'A', 'sennv' => 'G', 'shunv' => 'E',
            'keai' => 'E', 'xinggan' => 'J', 'youya' => 'C,D', 'qingxin' => 'G',
            'xueyuan' => 'F', 'fugu' => 'G', 'jianyue' => 'B,D', 'minzu' => 'H',
            'jueshi' => 'H', 'tianmei' => 'E', 'menghuan' => 'E', 'nvshen' => 'J',
            'shuaiqi' => 'I',
            'yjkh' => 'D', 'rcbg' => 'C', 'tqzs' => 'C', 'zyzb' => 'C',
            'jtjh' => 'B,C', 'zswc' => 'D,J', 'lryh' => 'B,E,F', 'sfgj' => 'A,B,C,E,F,G,H,I',
            'jpdr' => 'B,H,I', 'jmxj' => 'B,I,J', 'hft' => 'J', 'ygst' => '',
            'qsdj' => '', 'yxgl' => 'C,F,I', 'ctbs' => '', 'hgxq' => '',
            'sbyy' => ''
        ];
        return array_key_exists($fashionStyle, $stlyes)?$stlyes[$fashionStyle]:null;
    }
    
}

?>